XML document frameworks

ABSTRACT

An apparatus may be configured to generate document data representing a document for use in providing a service comprising a number of different activities that are to be carried out in providing the service. The apparatus may enable a user to retrieve previously stored document portions in accordance with the activity to which the document portion relates so that it is not necessary for the user to identify a specific document portion, a specific filename or an inventory part number allocated to that document portion. In one embodiment, an apparatus may be configured to generate a document that enables a user to assemble a document in accordance with the activities to which the document relates rather than to the actual content of the document. Thus, the user wishing to assemble a document may be concerned with the activities instead of which precise document portions to include in the document.

BACKGROUND

[0001] 1. Field of the Invention

[0002] This invention relates to computer systems, and more particularly to document generation.

[0003] 2. Description of the Related Art

[0004] Document generation apparatus such as computers programmed with word processing software are widely available. Users of such word processing software often wish or need to reuse certain standard documents or paragraphs and most word processing software provides facilities whereby standard documents or paragraphs can be retrieved by use of macros or shortcut references.

[0005] EP-A-0216063 describes a document preparation process for use in connection with a word processing facility that includes a succinct identification and listing of designated parts of a memorandum or document, each unique part having access to an associated file which contains the basic text and formatting controls for that particular part. The user of the process may readily assemble a document from the parts inventory displayed on a master screen by mere cursor reference or by keying the name of designated parts and have the newly created document displayed, or printed in most cases without reference to additional screens.

[0006] The facilities described above enable a user of word processing software to retrieve previously stored standard documents or portions of text using filenames or inventory parts associated with the text. However, it is necessary for the user of the word processing software to identify the filenames or part numbers for the specific portions of text that he or she wishes to insert into their document.

SUMMARY

[0007] In one embodiment, one or more apparatus may provide for generating document data representing a document for use in the providing of a service comprising a number of different activities that are to be carried out in providing the service, the apparatus enabling a user to retrieve previously stored document portions in accordance with the activity to which the document portion relates so that it is not necessary for the user to identify a specific document portion or a specific filename or inventory part number allocated to that document portion.

[0008] In one embodiment, one or more apparatus may provide for generating a document that enables a user to assemble a document in accordance with the activities to which the document relates rather than to the actual content of the document. Thus, the user wishing to assemble a document may need only concern himself with the activities and it is not necessary for the user to identify the precise document portions that he wishes to include in the document.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009]FIG. 1 shows a functional block diagram of a document generation system, according to one embodiment;

[0010]FIG. 2 shows a functional block diagram of a document provider shown in FIG. 1 and its coupling to a data base shown in FIG. 1, according to one embodiment;

[0011]FIG. 3 shows a block diagram illustrating functional components of the document provider and its relationship with the data base, according to one embodiment;

[0012]FIG. 4 shows a functional block diagram of a document producer shown in FIG. 3, according to one embodiment;

[0013]FIG. 5 shows a block diagram of computing apparatus programmable by processor implementable instructions to form part of the document system shown in FIG. 1 such as the document provider, according to one embodiment;

[0014]FIG. 6 illustrates diagrammatically a hierarchical structure of a service, according to one embodiment;

[0015]FIG. 7 represents diagrammatically the file structure of an activity file stored in an activity store of the data base, according to one embodiment;

[0016]FIGS. 7a and 7 b represent diagrammatically the file structure of a service element file and a service file respectively, according to one embodiment;

[0017]FIGS. 8a to 8 d show screens that may be displayed to a user to enable selection of activities to form a service, according to one embodiment;

[0018]FIG. 9 shows a flowchart illustrating generation of a service by a service generator shown in FIGS. 2 and 3, according to one embodiment;

[0019]FIGS. 10 and 11 shows screens that may be displayed to a user to enable generation of a document;

[0020]FIGS. 12 and 13 show flow charts for illustrating how a controller shown in FIGS. 2 and 3 may cause generation of a document;

[0021]FIG. 14 shows a flow chart for illustrating generation of an output document by the document generator, according to one embodiment;

[0022]FIG. 15 shows a flow chart for illustrating in greater detail creation of a service XML (eXtensible Mark up Language) shown in FIG. 14, according to one embodiment; and

[0023] FIGS. 16 to 19 show flow charts illustrating different examples of document production by the document producer shown in FIG. 3 using different document framework driver files.

[0024] While the invention is described herein by way of example for several embodiments and illustrative drawings, those skilled in the art will recognize that the invention is not limited to the embodiments or drawings described. It should be understood, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the invention as defined by the appended claims. The headings used herein are for organizational purposes only and are not meant to be used to limit the scope of the description or the claims. As used throughout this application, the word “may” is used in a permissive or optional sense (e.g., meaning having the potential or option to), rather than the mandatory sense (i.e., meaning must). Similarly, the words “include”, “including”, and “includes” mean including, but not limited to.

DETAILED DESCRIPTION OF EMBODIMENTS

[0025] Referring now to the drawings, FIG. 1 shows a functional block diagram of an embodiment of a document generation system 1 for generating a document for use in the providing of a service comprising a number of different activities in the form of procedures that are to be carried out when providing the service. The system 1 has a document provider 4 coupled to a database 3. A number (three are shown) of user devices 2 are coupled to the document provider 4 via a network N such as the Internet and a network server 2 a.

[0026] The database 3 stores representations of services 50 (only one of which is shown in FIG. 1). Each service representation includes activity data for a number of different activities 51 in the form of procedures that may be carried out in providing the service with the activity data for each activity associating the activity with at least one service element (SE) 52 forming a component of the activity and storing service element data associating the service element with data defining text describing that component of the activity. The data base 3 also contains a number of document framework driver files DFDF (only one of which is shown) each defining a document template and including information that defines the service elements SE for which the associated text is to be incorporated in the document to be produced by that template.

[0027] The document provider 4 includes a service generator 6 for generating a service for storage in the database 3 in accordance with user instructions received via the network server 2 a as will be described in detail below and a document generator 7 for generating data for defining a document. The document generator 7 includes a service selector 14 for selecting one of the services stored in the data base 3 in accordance with user instructions received via the network server 2 a, a document framework driver file selector 15 for selecting one of the document framework driver files stored in the data base 3 in accordance with user instructions received via the network server 2 a, and a document producer 16 for producing document data representing a document using the selected service and selected document framework driver file.

[0028]FIG. 2 shows the document provider 4 in greater detail. As shown in FIG. 2, the document provider 4 includes a communications interface 5 for communicating with the network server 2 a. The communications interface 5 is coupled via a controller 8, which controls overall operation of the document provider 4, to the service generator 6 and the document generator 7.

[0029] As shown in FIG. 3, the database 3 comprises a number of different data stores including a user services store 9 for storing services generated by the service generator 6 in accordance with data input by a user via the user device 2 and a services store 12 for storing pre-defined services, an activities data store 10 for storing the activity data for different activities, a service elements data store 11 storing service element data containing text data files that may be used in generating a document, and a document framework driver file store 13 storing the document framework driver files DFDF (FIG. 1).

[0030] The service selector 14 is coupled to the user services and services stores 9 and 12 while the document framework driver file selector 15 is coupled to the document framework driver file store 13 and the document producer 16 is coupled to the activities data, service elements data and services stores 10, 11 and 12.

[0031] The document producer 16 includes, as shown in FIG. 4, of a service document creator 17, a document creator 18 and an output document creator 19. The service document creator 17 assembles data associated with a service retrieved by the service selector 14 to enable the document creator 18 to create the document in a standard format, in this example XML (extensible Mark up Language). The output document creator 19 is provided to convert the standard format created by the document creator 18 to a specific output format selected by the user, such as, as will be described below, document formats PDF (Portable Document Format), RTF (Rich Text Format) and HTML (Hyper Text Mark up Language).

[0032] The user device 2, network server 2 a, database 3 and document provider 4 are provided by a computing apparatus or a number of computing apparatuses programmed by processor implementable instructions. FIG. 5 shows a block diagram of typical computing apparatus 200 which includes a processor 201 having memory 202 (ROM and/or RAM), a mass storage device such as a hard disk drive (HID) 203, a removable medium drive (RMD) 204 for receiving a removable medium (RM) 205 such as a floppy disk, CDROM or DVD drive, a communications interface (COMM) 206 such as a MODEM for communicating with other computing apparatus, a display such as a CRT or LCD display 207, an output device in the form of a printer 208 and a user input device 209 comprising a keyboard 209 a and a pointing device such as a mouse 210 a.

[0033] The processor 201 is programmed by processor implementable instructions and data to provide the document provider 4, database 3, network server 2 a, or user device 2 as the case may be. The processor implementable instructions may be pre-stored in the memory 202 or on the mass storage medium 203, may be downloaded as a signal S via the communications interface 206, may be supplied by and downloaded from a removable medium 205 inserted in the removable medium drive 204 or by any combination of these routes. Data may also be stored in the mass storage medium 203 by any of these routes.

[0034] In one embodiment, the computing apparatus is configured by processor implementable instructions to operate in accordance with the JAVA™ platform, the network server 2 a is configured as a web server and the user device 2 is configured in accordance with conventional web browser software to enable communication with the network server 2 a via the Internet. The database 3 is in this example an Oracle™ database.

[0035] The use of the document generation system to generate documents that may be required in the provision of a service to a customer will now be described. In the particular example to be described the service to be provided to the customer relates to the installation of a network server, in this example the Sun Enterprise 10000™ Server produced by Sun Microsystems, Inc, at the customer's premises and provision of related services including, if necessary, software and hardware components to set up or enable configuration of the customer's internal computer network for compatibility with the server.

[0036] As will now be explained in detail below, the document generation system enables generation of documents to enable provision of the service without the user having to identify the specific components in a particular document.

[0037] The manner in which a service representation is provided will now be described. The database 3 contains in the activities data store 10 activity data relating to activities that may be undertaken as part of a service, that is procedures that may be carried out in providing the service. Examples of activities that may be carried out in the supply and installation of a computer system are:

[0038] service initiation, that is the initial planning and resource determining activity with the customer;

[0039] design activity, that is the specification of the computer system including hardware, software and network configuration requirements;

[0040] installation and design implementation, that is the activity of installing, coordinating and overseeing the installation and implementation of the system;

[0041] testing, that is the activity of testing of the installed and implemented system; and so on.

[0042] The activity data for each activity associates the activity with a number of service elements that form components of the activity. Each service element is associated with service element data stored in the service elements data store 11 and defining text describing that component of the activity. Examples of activity components include a description of the activity, inputs and outputs (deliverables) for the activity, assumptions relating to the activity, and sub-activities or sub-plans associated with the activity.

[0043] As shown in FIG. 1 and as illustrated by the diagram shown in FIG. 6 a service representation 50 has a hierarchical structure with the service representation 50 being associated with a number of activities 51 (activity 1 to N as shown in FIG. 6) and each activity in turn being associated with at least one and usually a number of different types of service elements 52 (service elements SE11 to SE1N for activity 1, service elements SE21 to SE2N for activity 2 and so on). A service element (such as service element SE1N in FIG. 6) may be associated with one or more other service elements 52 a.

[0044] A service representation 50 may also be associated directly with one or more individual service elements 53 which are, in effect, activities having only a single service element. A service representation 50 may also be associated or linked to a representation of another service 54 which itself will be associated with a hierarchical structure of activities and service elements.

[0045]FIG. 7 shows a representation of an activity file 20 forming the activity data for an activity. The activity file 20 includes file identity data 21 including a name allocated to the activity file, the owner of the activity file, that is the name of the person within the organization responsible for maintaining and updating the activity file, data identifying the version of the file and so on. The activity file associates the activity with a number of different types of service elements. These service elements include service elements that define sub-activities or sub-procedures within the activity (indicated by box 29 in FIG. 7) and service elements defining the activity itself and its relationship with other activities indicated by box 22 in FIG. 7.

[0046] The service elements defining the activity include a service element of type “description” indicated by box 23 in FIG. 7 associated with data defining text describing the activity, one or more service elements of type “input” indicated by boxes 24 in FIG. 7 (three service elements of type input are shown) associated with data defining text relating to inputs that may be required by the activity, one or more service elements of type “output” indicated by box 25 in FIG. 7 associated with data defining text relating to outputs or deliverables provided by the activity, one or more service elements of type “assumption” indicated by box 26 in FIG. 7 associated with data defining text defining any assumptions that are made by either the supplier or the customer in relation to this particular activity, one or more service elements of type “acceptance” indicated by box 27 in FIG. 7 associated with data defining text defining the conditions under which the outcome of the activity may be accepted by the supplier or the customer and one or more service elements of type “responsibility” indicated by box 28 in FIG. 7 associated with data defining text defining respective responsibilities of the supplier and the customer relating to the activity.

[0047] In the example shown in FIG. 7, the activity includes a number of different types of service elements associated with text defining sub-activities or sub-procedures within the activity. These include service elements of type “sub-work plan” indicated by box 30 in FIG. 7 which are associated with text defining sub-procedures or subsidiary work plans to be carried out in providing that activity, service elements of types “resource requirement” indicated by box 31 in FIG. 7 which are associated with data defining text defining the resources for the activity, and service activities of types “activity qualification” indicated by box 33 associated with data defining text defining any qualifications or conditions placed upon the activity by the supplier or customer. The activity data may also include, although not shown, a service element of type “activity type” defining the type of an activity, for example whether it is a service initiation, design, test or other type of activity.

[0048] It will, of course, be appreciated that the actual types of service elements that are associated with a particular activity will depend upon the nature of that particular activity and may include types of service elements that are not shown in FIG. 7. However, the activity defining service elements will include at least a service element of type “description”. Each service element defining sub-activities or sub-procedures of an activity will itself have a file structure similar to that shown in FIG. 7, that is it will be associated with one or more service elements.

[0049]FIG. 7a shows a diagram illustrating an example of a file structure 35 for such a service element. This file structure includes file ID data 36 including the name, owner and version of the service element file, and, in addition, a service element of type “description” 37 associated with data defining text describing the service element. A service representation may be pre-defined by, for example, a system administrator responsible for the document provider or may be generated by a user of the user device 2 as will be described below.

[0050] A service representation is stored as a service object or file in the services data store 12 where the service is pre-defined or in the user services data store 9 where the service is defined by a user. The service object or file has a structure similar to the activities files including, as shown in FIG. 7b, files ID data indicating the name of the service, its owner and version and so on (indicated by box 39 a in FIG. 7b) and also links or pointers indicated by boxes 39 c, 39 d and 39 e to the activities, service elements and services, respectively, associated with and forming part of the service representation. Where the service representation is pre-defined then the service representation will also include a service element of type “description” associated with data defining text defining the overall service (indicated by phantom box 39 b). Where the service is pre-defined, then the service representation may also include service elements of the type “Service Inscope”, “Service Outscope” and “Service Duration” indicated by phantom boxes 39 f, 39 g and 39 h in FIG. 7b associated with text describing what falls inside and outside the scope of the service and the duration of the service.

[0051] In one embodiment, services, activities and service elements are implemented using XML and the data defining text is provided as a tagged file containing the corresponding text. The text is written in a default language (in this case English). Different language versions of the same text are provided by providing different versions of the same service element with the different versions being associated with different languages versions of the same text (such as German and Italian). Different language versions of the same service element include language identifiers in their ID data 36.

[0052] The service element data for the service elements may, as described above, be stored directly in the activity data file 20 (FIG. 7) or the activity date file 20 may simply contain pointers to files in the service elements store 11 containing the service element data. Similarly, although in the example described with reference to FIG. 7b above the service object contains pointers or links to the activities, service elements and services forming the service representation, the service object may actually contain the data for these activities, service elements and services.

[0053] The manner in which a user at the user device 2 generates a representation of service will now be described with the help of FIGS. 8a to 8 d and 9. In order to generate a representation of a service, a user at the user device 2 activates his web browser to communicate with the document provider 4 via the network server 2 a. In response to this, a web page is downloaded to the user device 2 via the network server 2 a.

[0054]FIG. 8a shows a simplified version of a display screen 40 that may be displayed to the user at this stage. Although not shown in FIG. 8a, this display screen 40 a will generally include a welcome message welcoming the user to the system and, in addition, includes a number of buttons, as shown a “Set User Preferences” button 40 a that, when selected, takes the user to a further screen enabling the user to set user preferences such as a default language, a “generate document” button 40 b that, when selected, enables a user to generate a document for use in providing a service and a “define service” button 40 c that enables a user to define a new service.

[0055] When the button “define service” 40 c shown in FIG. 8a is selected using the pointing device 210 a, then a search display screen 41 is supplied to the user. FIG. 8b shows an example of a search display screen 41. The search display screen 41 includes a data entry window 41 a associated with a prompt such as “enter keyword” prompting the user to enter a search term into the window 41 a using the keyboard 209 a, and a search button 41 b. When the user selects the search button 41 b using the pointing device 210 a, then the search criteria entered by the user in the window 41 a is supplied by the network N to the controller 8 which accesses the data base 3 and conducts a search to locate all stored activities whose names meet the user's search criteria. As will be appreciated from the above, “activities” will include any service elements that can be associated with a service without forming part of an activity (that is a service element such as service element 53 shown in FIG. 6) and also any service (such as service 54 shown in FIG. 6) that can be associated with another service, provided they meet the search criteria.

[0056] The results of the search are supplied to the user as a further display screen or window 42, an example of which is shown in FIG. 8c. This display screen 42 includes a window 43 in which the names of the activities meeting the search criteria are displayed. This window 43 may, as is well known in the art, be associated with a scroll bar 43 a to enable a user to scroll up and down the list of service activities.

[0057] The user may then select any of the displayed activities for inclusion in the service that the user wishes to define. In order to select a service activity, the user highlights or “clicks on” (where “clicks on” refers to selection using the pointing device 210 a) the desired service activity in the window 43 and then clicks on an “add to basket” button 44.

[0058] When the user has finished selecting activities from the activities shown in the window 43, then he clicks on or selects a cancel button 45. Selecting the cancel button 45 causes a further display screen to be displayed to the user. FIG. 8d shows an example of such a display screen 46. This display screen 46 includes a window 47 (which, like the window 43 may be associated with a scroll bar 47 a) in which the names of the activities currently added to the user's basket are displayed. The activities within the basket are listed in the order in which they were selected from the search results. However, in order to define the search it is necessary for the activities to be arranged in the order in which they would occur in the providing of the service. Accordingly, the display screen 46 also includes an “add to service” button 48 and a service display window 49. In order to select a service activity to become part of the service being defined, the user highlights or clicks on the desired service activity in the window 47 and then clicks on the “add to service” button 48 which causes the name of that particular service to be added as the next service on the list that the user is generating in the window 49.

[0059] The display screen 46 also includes a help button 49 a that, if selected by the user, causes a help web page to be downloaded from the document provider 4 showing detailed information regarding the highlighted activity such as the text associated with the service element of type “description” associated with the highlighted activity and the names of the service elements 29 associated with the highlighted activity defining subactivities or sub-procedures so that the user can verify that the activity selected is correct.

[0060] The user may move between the display screens 46 and 42 shown in FIGS. 8d and 8 c respectively, enabling further activities to be added to the basket and may also return to the search screen 41 to search for activities in accordance with different criteria. It will, of course, be appreciated that the search criteria may be as simple as enabling a user to cause a particular section of an alphabetically ordered list of activity names to be displayed in the window 43 or may enable a user to search for activities having specific names or names including specific letter strings.

[0061] In one embodiment, the user is defining a service representation of a service for the implementation of an Sun Enterprise 10000™ server installation and, as shown in the window 46 in FIG. 8d, the user has selected the following activities:

[0062] service initiation

[0063] design

[0064] implementation

[0065] testing

[0066] handover

[0067] closure

[0068] Once the user is satisfied with the selection of activities, then he clicks on a “save service” button 49 b and is prompted to give the service a name and to submit the service to the document provider 4 via the network server 2 a.

[0069]FIG. 9 shows a flow chart illustrating operation of the service generator 6 shown in FIGS. 2 and 3 in response to receipt by the document provider 4 of information defining a service from the user device 2. Initially, the service generator 6 determines (S1) from the supplied information the activities (which may include service elements that can be directly associated with a service and services that can be associated with a service) selected by the user, that is the activities listed in the window 49 in FIG. 8d, and then determines (S2) the name for the service input by the user. Next, the service generator 6 generates (S3) a service object having the file structure shown in FIG. 7b and having the name input by the user and including links to the activities selected by the user. Then, the service generator 6 stores (S4) that service object as the service representation under the name input by the user in the user services store 9 of the data base 3.

[0070] The user services store 9 will generally store a number of different service representations defined by different users at the same user device 2 or at different user devices 2 coupled to the document provider 4. As mentioned above, standard or predefined representation for services that are to be implemented by different users are prestored in the services store 12.

[0071] The manner in which the document provider 4 provides different documents for a service representation stored in the services store 12 or user services store 9 will now be described with reference to FIGS. 10 to 15. When a user at the user device 2 elects to generate a document by selecting or clicking on the “generate document” button 40 b in FIG. 8a, then a web page is downloaded to the user device 2 via the network server 2 a. FIG. 10 shows a display screen 50 that may displayed to the user at this stage prompting him to either type in the name of the service representation for which the document is to be generated in the window 51 or to click on the browse button 52 to enable a list of names of service representations stored in the services data store 9 to be downloaded so that the user can select a service representation from that list.

[0072] In one embodiment, the user selects the service “E10000 implementation for customer X”. In response to receipt of this information, the document provider 4 downloads to the user device 2 via the network server 2 a a display screen indicating the types of document available. FIG. 11 shows an example of such a display screen 53. This display screen includes a table having columns 54, 55, 56 and 57 headed document title, PDF, RTF and HTML.

[0073] The document title column lists the different document framework driver files that are available. In this embodiment, these are XSL (extensible Style sheet Language) style sheets and the available ones are, as shown in FIG. 11:

[0074] statement of work, test plan, delivery preparation worksheet, service definition document, service work plan, resource requirement summary, and proposals.

[0075] Each of the columns 55, 56 and 57 includes a check box 58 adjacent to the name of each document framework driver file enabling the user to select whether he wants his output document in PDF, RTF or HTML standard format. The display screen 53 also includes a download button 58 a and a reset selection button 59.

[0076] The user selects a document framework driver file by clicking on or highlighting the title of the document framework driver file and checking one of the boxes 58 to indicate the document output format. If the user is unhappy with the selection, then he may reset the selection by clicking on the reset selection button 59 and selecting a different document title. When the user is happy with the selected document title and output format, then he clicks on the download button 58 a to forward the request for the document via the network server 2 a to the document provider 4.

[0077]FIG. 12 shows a flow chart illustrating operation of the document provider 4 upon receipt of such a document request. Thus, the controller 8 determines (S10) the service representation and document framework selected by the user in accordance with the information supplied by the user and then determines (S11) the document output format selected by the user, again in accordance with the information supplied by the user. Then, the controller 8 instructs (S12) the service selector 14 (FIG. 3) of the document generator 7 to retrieve the service file or object related to the selected service representation from the user services store 9 or services store 12 as the case may be and then passes (S13) the retrieved service object to the document producer 16.

[0078] As shown in FIG. 13, the controller 8 also instructs (S14) the document framework driver file selector 15 to retrieve the document framework driver file selected by the user from the document framework driver file store 13, then passes (S15) the retrieved document framework driver file to the document producer 16 and instructs (S16) the document producer 16 to generate an output document in accordance with the rules of the retrieved document framework driver file which define which activities of the service are relevant for the document to be produced and, in respect of those activities, define which service elements are to be used and the manner in which and location at which the text for those service elements is to be incorporated in the document, that is the document layout, style, presentation and content.

[0079] Then, the controller 8 passes (S17) the generated document via the communications interface 5 and network server 2 a to the user device 2 for display on the display 207 (FIG. 5). The user may then adapt the displayed document to insert any user definable information such as, for example, the customer's name and details and, if desired, print the document using the printer 208 or forward the document to another computing apparatus (for example, where appropriate, to computing apparatus of the customer) via the communications interface 206.

[0080]FIG. 14 shows operation of the document producer 16 in response to receipt of an instruction from the controller 8 to generate a document. Thus, initially, the service document creator 17 (see FIG. 4) of the document producer creates (S18) a service XML assembling the data relating to the activities linked to the selected service representation (which will include the data relating to any services and any service elements linked to the service directly or via the activities linked to the service) and conducting any necessary pre-filtering as will be described in greater detail below.

[0081] Then, the document creator 18 of the document producer 16 generates (S19) an XML document using the service XML and the selected document framework driver file and then the output document creator 19 converts (S20) the generated XML document to the document output format selected by the user to produce the output document and then the controller 8 supplies (S21) the generated output document to the user device 2 via the network server 2 a, causing the output document to be displayed to the user on a web page on the display 207.

[0082] Prefiltering of the data in the service may be effected in the creation of the service XML (S18) to select the service elements associated with text in the language for the selected document as illustrated by the flow chart shown in FIG. 15. Thus, the service document creator 17 determines the language indicated by the user (S22) as determined by the preference set by the user (see FIG. 8a). In the example shown in FIG. 11, this language is American English. Once the service document creator 17 has determined the language for the selected document framework driver file (S22), then the service document creator filters (S23) the service elements data files of the service representation to select the version of the service element that has file ID data identifying the associated text as being in the determined language or, where the determined language is not the default language of the document provider 4 and the service document creator 17 cannot find a version of the service element associated with text in the determined language, the version of the service element identified as being associated with text in the default language. Then, the service document creator 17 assembles (S24) the service XML to include the service element data for the determined language and any default service element data that may be required if there is no service element available in the determined language. An XML document is then generated (S19 in FIG. 14), converted to the user-selected output format (S20 in FIG. 14) and passed to the communications interface 5 to provide the user with the document.

[0083] The generation of specific documents will now be described in detail with reference to the flow charts shown in FIGS. 16 to 19 which illustrate how the XSL style sheets forming different document framework driver files generate the corresponding documents and appendices 1 to 4 which show the resulting documents in skeleton format (that is with large portions of the text omitted in the interests of brevity and the omissions shown by ellipsis). To aid understanding of the generation of the documents an illustrative but not exact indication of the XML markup of the corresponding XSL style sheet is given in the Appendices. It will, of course, be appreciated that this XML markup will not be shown in the actual generated document.

[0084] Production of a statement of work document setting out details of the work to be carried out for the customer for a standard or pre-defined service stored in the services store 12 relating to an E10000 Design and Implementation Service will first be described with reference to the flow chart shown in FIG. 16 and Appendix 1. As illustrated in FIG. 16, a first section of the XSL style sheet defines the content, position and presentation of a title for the document, in this case “Statement of Work”, (S30), the next section (S31) defines the content, location and presentation of a subsidiary title, in this case “Service Overview” and the next section (S32) defines the content, location and presentation of a subsidiary heading, in this case “Service Description”.

[0085] The next section of the XSL style sheet (S34 in FIG. 16) gets the service description by inserting into the document from service elements of the type “Service Description”, “Service Inscope”, “Service Outscope” and “Service Duration” associated with the pre-defined service representation the description associated with the service and text defining any limitations of the scope of the service and the duration of the service as shown in Appendix 1.

[0086] The next section (S35) of the XSL style sheet defines the content, location and presentation of a subsidiary heading, in this case “Summary of Deliverables” and the next section of the XSL style sheet (S36) identifies, for each activity of the pre-defined service representation indicated by the statement of work XSL style sheet the text associated with any service element of type “output” or “deliverable” that is defined as being of type “Real” and lists this in a bulleted list beneath the heading “Summary of Deliverables”. In the example illustrated by Appendix 1 the deliverables include a service schedule and an availability assessment report.

[0087] The next section of the XSL style sheet (S37) defines the content, location and presentation of a heading, in this case, “Activities and Deliverables” and the next section (S38) of the XSL style sheet defines rules inserting, for each activity of the pre-defined service representation indicated by the XSL style sheet, into the document a heading giving the name of the activity from the file ID data followed, in sequence, by headings “description”, “inputs” and “outputs” (deliverables) for that activity and inserting beneath the corresponding heading the text associated with any service element of that type associated with the activity or the word “none” if there is no service element of that type.

[0088] As illustrated in Appendix 1 the activities are: Service Initiation and Availability Assessment. As can be seen from Appendix 1, the activity “Service Initiation” has no service elements of type input and has a service element of type output forming the activity deliverable in the form of the service schedule while the activity “Availability Assessment” has service elements of type “input” in the form of infrastructure information and data and application capture and a service element of type output in the form of the Availability Assessment Report.

[0089] The next section of the XSL style sheet determines the content, location and presentation of a heading “Customer Responsibilities” and chooses from each activity element any service element file of the type “customer responsibility” and inserts the text associated with those service elements into the document as a numbered list (S39) as shown in Appendix 1.

[0090] The next section of the XSL style sheet gets for all activities of the service representation indciated by the XSL style sheet all service elements of the type “assumption” and lists these under the heading “General Assumptions” (S40) and the final section of the XSL style sheet (S41) inserts “boiler plate” or standard clauses whose, in this example, content, location and presentation are determined by XSL style sheet with the text content being contained in the XSL style sheet.

[0091] As discussed above, once the XML document has been generated as described with reference to FIG. 16, it is converted using another XSL style sheet into the output format selected by the user, in this case, PDF, RTF or HTML and downloaded to the user device 2. As will be seen, from Appendix 1, the resultant statement of work document is not complete but includes user insertion points define by angled brackets to enable the user to insert information such as the customer name.

[0092] One of the other documents shown in FIG. 11 is a service definition document that defines the service to be provided. FIG. 17 is a flow chart illustrating generation of a service definition document by the service definition document framework driver file (which again is an XSL style sheet) when, for the same pre-defined service representation, the user selects “service definition document” from the list shown in FIG. 11.

[0093] The first section of the XSL style sheet retrieves the service name from the service object and inserts it as a title, in this case the title is “E10000 Application Readiness Service” (S50 in FIG. 17) followed by the document title “Service Definition Document”. The next section of the XSL style sheet is a preface (S51) provided as text contained in the XSL style sheet that explains the function of the document, that is, in this case, that the document is for use by the supplier to enable understanding of the scope, approach and deliverables for the particular service.

[0094] The next section of the XSL style sheet determines the content, location and presentation of a document title, in this case, “Service Description” (S52).

[0095] The next section of the XSL style sheet causes each service element of type “service description”, “service in scope”, “service out scope” and “service duration” to be retrieved from the service object and inserts the associated text into the document (S53) as shown in Appendix 2.

[0096] The next section of the XSL style sheet (S54) determines the content, location and presentation of a title, in this case the title “Service Deliverables” and the next section of the XSL style sheet retrieves, for all activities of the service representation indicated by the XSL style sheet, all service elements of type “output” or “deliverable” that produce a real output and produces a bulleted list of the text associated with these service elements (S55) as illustrated in Appendix 2. The next section of the XSL style sheet defines the content, location and presentation of a heading, in this case the heading “Activities” (S56) and the following section (S57) of the XSL style sheet generates for all activities of the service representation indicated by the XSL style sheet, a list of these activities formatted so that the name of each activity retrieved from the file ID data is followed by the text associated with the service element of type “description” for that activity as shown under the heading “C. Activities” in Appendix 2.

[0097] The next section of the XSL style sheet provides in the document a heading “Qualification Questions” and generates a table of qualification questions by retrieving the text associated with all service elements of type “question” (S58) from all activities of the service representation indicated by the XSL style sheet.

[0098] The next section of the XSL style sheet provides, as shown in Appendix 2, a “Sizing Guidelines” heading and generates a table of sizing guidelines by retrieving from all activities of the service representation indicated by the XSL style sheet the text associated with all service elements of type “Sizing Guidelines” and tabulating the information (S59). The next section (S60) of the XSL style sheet generates a list of associated available documents for the service by retrieving the text associated with a service element of type “available documents” associated with the service representation identifying the names of the documents that can be used for that service.

[0099] The next section of the XSL style sheet inserts, as shown in Appendix 2, in the document the heading “Additional Information” and generates a table of additional information by retrieving the text associated with service elements of type “information element” in the service representation and tabulating the information (S61).

[0100] The next section of the XSL style sheet (S62) provides the boiler plates section for the document, in this case, as shown in Appendix 2, a section headed “Service Change Control” and the final section (S63) provides a heading “Service Components” and derives from the service representation the name of the service and the name of each included activity and associated service element listing them in a hierarchical bulleted list as shown in Appendix 2.

[0101] The examples of specific document generation described above with reference to FIGS. 16 and 17 and Appendices 1 and 2 are for a pre-defined service. Examples of generation of documents for a user-defined service will now be described. As will be appreciated, where a service is defined by a user on a customer-by-customer basis to meet customer-specific requirements, there will be no pre-stored description of the service, that is the service object or file shown in FIG. 7b will include simply the service object or file identity data and the links to the activities (which may include, as discussed above previously stored services that can be associated with the current service and also service elements that can be directly associated with the service without forming part of an activity).

[0102] A first example of generation of a document for a user-defined service will now be described where the service is an “E10000 Data Center Readiness Service” and the user has selected a “test procedures” plan document framework driver file. In this case, the user-defined service has been defined by the user to include the activities: “E10000 additional RAS testing”, “system storage RAS testing” and “E10000 extended functionality testing”, that is the user has selected the individual independent testing procedures that may be required to complete the test procedure.

[0103]FIG. 18 shows a flow chart illustrating how an XSL style sheet forming the selected document framework driver file generates a “Test Procedures Plan” document for instructing the supplier personnel responsible for implementing the service about the test procedures that need to be carried out in providing the service while Appendix 3 illustrates an example of the resulting document.

[0104] This XSL style sheet has a first section which defines the document title and the location and presentation of the title with the document title being defined by the name of the service representation followed by the document title, in this case “Test Procedure Plan” (S70).

[0105] The XSL style sheet may also include, as shown in Appendix 3, instructions for incorporating into the document revision or version control information setting out in the document the date on which it was generated and the name of the user generating the document and may also include instructions to generate a standard test procedures completion form to be added to the documentation, followed by a table of contents as shown in Appendix 3.

[0106] This is followed, as shown in Appendix 3, by introduction and test objectives and strategy sections (S71) in the form of a body of text incorporated into the XSL style sheet and a second body of text headed “Preconditions of Testing” (S72) also incorporated in the XSL style sheet (S72). The next section of the XSL style sheet defines the content, position and presentation of a heading “Test Details” (S73).

[0107] As shown in Appendix 3, the final section of the XSL style sheet (S74) incorporates the test details. The XSL style sheet achieves this by, for each activity of the type test in turn in the service representation, retrieving the name of the activity from the file ID data, defining this as a heading and then setting out beneath the heading the text associated with the service element of type “description” for that activity followed by subsidiary sections incorporating the text associated with each service element of type “test” within that activity so that each subsidiary section has as a heading the name of the service element and is followed by, as shown in Appendix 3, a table giving the name, ID, type, objective, assumptions and instructions for the particular test by extracting the text data associated with service elements of type, name, ID, type, objective, assumption and instruction associated with the particular test service element.

[0108] The XSL style sheet follows this by a results section which, as shown in Appendix 3, includes again a table having a heading incorporating text retrieved from the service element of type “results” associated with the particular test activity.

[0109] As shown in Appendix 3, after incorporation of details of further tests for the activity “E10000 additional RAS testing”, the XSL style sheet follows this by setting out in similar format the test details for each of the other activities of type “test” in the service that specified by the XSL style sheet. Although not shown in Appendix 3, these will have the same format as the first example shown for the test “E10000 additional RAS testing”, namely a description followed by tabulated details relating to the test and a tabulated results section.

[0110]FIG. 19 shows a flow chart illustrating how a “service work plan” document framework driver file in the form of an XSL style sheet generates a service work plan for an “Availability Assessment Service” generated by a user while Appendix 4 shows an example of the resulting service work plan document.

[0111] A first section of the XSL style sheet (S80) defines the content location and presentation of a title for the document, in this case the service name “Availability Assessment Service” followed by the document title: “Service Work Plan”.

[0112] A second section of the XSL style sheet defines the content, location and presentation of a heading “Preface” and sets out text contained in the XSL style sheet explaining that the document is for use by the suppliers staff involved in delivery of the service (S81) as shown in Appendix 4.

[0113] The next section of the XSL style sheet lists, for each activity associated with the service and indicated by the XSL style sheet in turn, the activity name and the text associated with all service elements of type “sub work plan” associated with that activity. The XSL style sheet provides this information in the form, as shown in Appendix 4, of a hierarchical bulleted list (S82).

[0114] The remaining section of the XSL style sheet accesses each activity of the service representation indicated by the XSL style sheet in turn and, for each activity, inserts into the document the activity name by retrieving it from the file ID data for that activity and lists beneath it the text associated with each service element of the type of “sub-work plan” inserting, for each such service element, the description and the table of work plan task associated with that service element (S83) by obtaining the text associated with the correspondingly named service element.

[0115] As can be seen from the above, each XSL style sheet defines rules controlling the formatting of a document and how that document is populated with text. In the case of standard or so-called boiler plate clauses, in the above examples, the text for these clauses is incorporated within the XSL style sheet. The remainder of the text is determined partly by the service representation for which the document is to be produced (in particular, the activities forming the service representation) and partly by the XSL style sheet in accordance with rules set out in the XSL style sheet.

[0116] As will be appreciated from the above, an XSL style sheet may define the service elements for which the associated text is to be included in the corresponding document using a number of different methods with the actual methods used for a document being determined by the document requirements. An XSL style sheet may define a service element by reference to its name or by type (by including a rule to obtain the text associated with all service elements of a particular type) with or without reference to the activity with which the service element is associated. An XSL style sheet may define an activity by name so that only specific ones of the activities associated with the service representation are accessed when generating the corresponding document or may simply instruct the document producer 16 to access all activities associated with the selected service representation. In addition, activities may, like service elements, be categorized by type (by incorporating within the activity data a service element of type “activity type”) enabling the XSL style sheets to define the activities of the service representation that may be required for that document by type rather than by individual name by, for example, including a rule that may require that the text associated with specific service elements (defined by name or type) of activities of a specific type be incorporated into the document.

[0117] As mentioned above, where a service is pre-stored, then the service representation itself may include service elements of type description, scope, duration and so on associated with text defining, for example, an overall description of the service, the scope and duration of the service and so on. Where the service is a user defined service, then there will be no pre-stored overall service description. To accommodate this, different XSL style sheets may be provided for generating the same type of document (for example a service work plan) for a predefined and for a user-defined service. As another possibility the document framework driver files may include rules that cause an overall description of the service and its scope to be incorporated only if service elements of the relevant type are included within the service object file. As a further possibility, if desired, the XSL style sheets may include rules that cause a heading for a service description to be generated and include a prompt for the user to include his own description of the service. As another possibility an XSL style sheet may include rules that assemble an overall description of the service document from the text associated with the service elements of type “description” for the activities indicated by the XSL style sheet.

[0118] As described above, a user requests conversion of the XML document to a standard output format. Different output formats in addition to or in place of PDF, RTF and HTML may be provided and the user may also be given the facility to be provided with the XML document.

[0119] In the above described embodiments, when a user is defining a service, the user makes use of a search facility as described with reference to FIG. 8b. Where the number of available activities is relatively small, it may be possible to dispense with this search facility and simply to allow the user to select directly from a list of the names of the available activities. In this case, the display screens shown in FIGS. 8b and 8 c would be omitted and the window 47 shown in FIG. 8d would be relabeled available activity.

[0120] In the above described embodiments, document generation is effected using the XML markup language which is advantageous in terms of standardization. It will, however, be appreciated that other markup languages may be used. In addition, different forms of document framework driver files may be used that do not necessarily use markup languages.

[0121] In the above described embodiments, activities and document frameworks are identified to the user by the names associated therewith. However, other forms of identifiers such as icons may be used.

[0122] In the above described embodiments, a user accesses the document provider 4 via the Internet using a web browser. It will, however, be appreciated that communication between the user device 2 and the document provider 4 may be, for example, via an intranet or local network. In addition, for at least one user, the document provider 4 may be local to their own computing apparatus. This user may be, for example, a systems administrator or person authorized to and responsible for version control and updating of service elements and activities.

[0123] In the above described embodiments, the data base 3 is directly coupled to the document provider 4. The data base 3 may, however, be physically separated from the document provider 4 and coupled to the document provider 4 via a network or even via an intranet or the Internet. In addition, the service generator 6 and document generator 7 may be physically separated, and for example, connected via a network or over an intranet or the Internet.

[0124] Although the above described example relates to installation of a computer service system it will, of course, be appreciated that embodiments may assist a user in preparation of documents for provision of services other than provision of computer hardware and/or software. One embodiment may be used to assist a user in production of documents necessary in providing any service that involves the carrying out of a number of activities and that may include production of a number of different documents, for example at different phases in providing the service. Examples of such services are, for example, services to manufacture or design products where the various different documents may relate to project planning, resource allocation, specification of components, testing etc., and services such as building projects where different documents may be required for different sub-contractors and at different phrases throughout the building project.

[0125] In one embodiment, a user may be enabled to generate documents for the carrying out of a service or process and enables standardization and uniformity between different documents by using, where possible, standard text without the user having to identify the specific standard text to be used. This is achieved by use of a data base that breaks a service down into individual activities each associated with a number of service elements of different type themselves associated with text appropriate to that service element type and by using document framework driver files that define rules for the formatting and populating of a document with text so that the resulting document includes text associated with service elements selected in accordance with the rules of the document framework driver file. This has many advantages for a user. For example, where a service is predefined and pre-stored, then a user may generate any one of a number of different documents for that service by selecting the service and the appropriate document framework driver file without having to concern himself with the actual content of the document. In addition, the user may define his own services by, as described above with reference to FIG. 11, selecting from an available list of activities and may then generate any one of a number of documents for that service by selecting one of the available document framework driver files. Thus, again, the user does not have to concern him or herself with the actual content of the document, but simply needs to select in a logical fashion the activities that are to be carried out in providing the service. Moreover, the above mentioned data base structure has the advantage that only one copy of each service element of a particular type and name need be held in the data base. This reduces the amount of storage that may be required and, more importantly, facilitates version control ensuring that, once a particular service element has been updated, there is no possibility of a user subsequently generating a document with an out-of-date version of the text for that service element.

[0126] In one embodiment, localization of documents may be enabled by providing different versions of service elements for different languages. This enables not only different language versions of the same document to be produced but also enables different local customs and/or legal requirements to be catered for in different versions of the same service element. Different versions of the same service element may also be provided for use in different countries which have the same official language (for example English) but which have different customs and/or legal requirements, for example.

[0127] In one embodiment, a data base comprising a large repository of knowledge may be enabled to be built up including not only activities that may included within a service but also a repository of stored services that is searchable by a user so that a user does not necessarily have to define his or her own service but may search for an existing service, modify it where necessary and then resave it in modified form so that a user does not necessarily have to define a service from scratch but may use or start from an existing defined service, thus saving the user time and effort.

[0128] The flow charts described herein represent exemplary embodiments of methods. The methods may be implemented in software, hardware, or a combination thereof. The order of method activities may be changed, and various elements may be added, reordered, combined, omitted, modified, etc.

[0129] Various modifications and changes may be made to the invention as would be obvious to a person skilled in the art having the benefit of this disclosure. It is intended that the following claims be interpreted to embrace all such modifications and changes and, accordingly, the specifications and drawings are to be regarded in an illustrative rather than a restrictive sense.

[0130] Various embodiments may further include receiving, sending or storing instructions and/or data implemented in accordance with the foregoing description upon a computer accessible medium. Generally speaking, a computer accessible medium may include storage media or memory media such as magnetic or optical media, e.g., disk or CD-ROM, volatile or non-volatile media such as RAM (e.g. SDRAM, DDR SDRAM, RDRAM, SRAM, etc.), ROM, etc. as well as transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as network and/or a wireless link. 

What is claimed is:
 1. Computer processing apparatus for generating document data representing a document for use in providing a service comprising a number of different activities that are to be carried out in providing the service, the apparatus comprising: a data store storing activity data for a plurality of activities that may be carried out in providing a service, the data store storing, for each activity, activity data associating the activity with at least one service element forming a component of the activity and storing service element data associating the service element with data defining text describing that component of the activity; a service representation provider operable to provide a service representation defining the activities that are to be carried out in providing a service; a service representation store configured to store service representations defined by the service representation provider; a document framework store storing a plurality of document frameworks each for a respective different document and each defining the service elements for which text is to be included in that document; a service selector operable to select a service representation from the service representation store; a document framework selector operable to select a document framework from the document framework store; an identifier operable to identify from the activity data associated with the selected service representation any service element defined by the selected document framework; and a document data producer operable to produce document data incorporating the text associated with the defined service element or service elements identified by the identifier.
 2. Apparatus according to claim 1, wherein the service representation provider comprises a user-operable selector operable to select the activities that are to be carried out in providing a service and a service representation generator operable to generate the service representation defining the activities selected by the selector.
 3. Apparatus according to claim 1, wherein the service representation provider is operable to provide at least one predefined service representation.
 4. Apparatus according to claim 1, wherein the data store stores data for at least one activity such that the service element data for at least one service element is stored separately from the activity data and the data associating the activity with that service element is a pointer to the corresponding service element data.
 5. Apparatus according to claim 1, wherein the data store stores data for at least one activity such that the service element data for at least one service element associated with the activity is contained within the activity data.
 6. Apparatus according to claim 1, wherein the data store stores the service element data for at least one service element so that the data defining the text is a pointer to the text.
 7. Apparatus according to claim 1, wherein the data store stores the service element data for at least one service element so that the data defining the text actually contains the text.
 8. Apparatus according to claim 1, wherein the data store stores activity data such that the activity data for each activity consists of one of: a single service element, a number of service elements, a service, and a combination of at least one service element and a service.
 9. Apparatus according to claim 1, wherein the data store stores service elements including at least service elements of a type selected from: a description of the activity, an input for the activity, an output or deliverable from the activity, an assumption for the activity, information regarding responsibility for the activity, a subsidiary activity of the activity, a sub-work plan of the activity.
 10. Apparatus according to claim 9, wherein the said document frameworks are arranged to define the service elements for which the text is to be included in the corresponding document by at least one of: specifying the service element by name, specifying the service element by type, defining rules to obtain text associated with the service elements of all activities of a specific type of the selected service, defining rules to obtain text associated with all service elements of a specific type of the selected service, defining rules to obtain text related to an activity and the associated service elements by defining the activity by name or type.
 11. Apparatus according to claim 1, wherein, for at least one service element, the data store stores data associating that service element with at least one other service element.
 12. Apparatus according to claim 1, wherein the said document frameworks are arranged to define a service element for which the text is to be included in the corresponding document by identifying the specific service element.
 13. Apparatus according to claim 1, wherein the said document frameworks are arranged to define a service element for which the text is to be included in the corresponding document by defining rules determining the activities and service elements relevant to that document.
 14. Apparatus according to claim 1, wherein at least one document framework includes data defining standard or boiler plate clauses.
 15. Apparatus according to claim 1, further comprising an supplier operable to supply document data produced by the document data producer to a user.
 16. Apparatus according to claim 15, wherein the supplier comprises a communicator operable to communicate with a user's computer.
 17. Apparatus according to claims 15, wherein the supplier comprises a printer operable to print a document in accordance with document data produced by the document data producer.
 18. Computer processing apparatus for generating document data representing a document for use in providing a service comprising a number of different activities that are to be carried out in providing the service, the apparatus comprising: a service representation store storing a service representation defining a service as a set of a plurality of activities that are to be carried out in providing the service and associating the service with a data store storing, for each activity, activity data associating the activity with a number of service elements forming components of the activity and, for each service element, service element data associating the service element with data defining text describing that component of the activity; a document framework store storing a plurality of document frameworks each for a respective different document and each defining the service elements for which text is to be included in that document; a document framework selector operable to select a document framework from the document framework store; an identifier operable to identify from the activity data associated with the service representation any service element defined by the selected document framework; and a document data producer operable to produce document data incorporating the text associated with the defined service element or service elements identified by the identifier.
 19. Computer processing apparatus for defining a representation of a service comprising a number of different activities that are to be carried out in providing the service, the apparatus comprising: a data store storing activity data for a plurality of activities that may be carried out in providing a service, the data store storing for each activity, activity data associating the activity with at least one service element forming a component of the activity so that at least some activities are associated with more than one service element and storing for each service element service element data associating the service element with data defining text describing that component of the activity; a user-operable selector operable to select the activities that are to be carried out in providing a service; a service representation generator operable to generate a service representation defining the activities selected by the user using the selector so that the service representation is associated with the activity data stored in the data store for the activities selected by the user; and a service representation store configured to store service representations generated by the service representation generator.
 20. Apparatus according to claim 19, wherein the data store stores data for at least one activity such that the service element data for at least one service element is stored separately from the activity data and the data associating the activity with that service element is a pointer to the corresponding service element data.
 21. Apparatus according to claim 19, wherein the data store stores data for at least one activity such that the service element data for at least one service element associated with the activity is contained within the activity data.
 22. Apparatus according to claim 19, wherein the data store stores the service element data for at least one service element so that the data defining the text is a pointer to the text.
 23. Apparatus according to claim 19, wherein the data store stores the service element data for at least one service element so that the data defining the text actually contains the text.
 24. Apparatus according to claim 19, wherein the data store stores activity data such that the activity data for each activity consists of one of: a single service element, a number of service elements, a service, and a combination of at least one service element and a service.
 25. Apparatus according to claim 19, wherein the data store stores service elements including at least service elements of one type selected from: a description of the activity, an input for the activity, an output or deliverable from the activity, an assumption for the activity, information regarding responsibility for the activity, a subsidiary activity of the activity, a sub-work plan of the activity.
 26. Apparatus according to claim 19, wherein, for at least one service element, the data store stores data associating that service element with at least one other service element.
 27. Computer processing apparatus for producing document data representing a document for use in the providing of a service comprising a number of different activities that are to be carried out in providing the service using a service representation store storing representations of services each service representation defining the activities that are to be carried out in providing a service and being associated with activity data defining, for each activity, a number of service elements forming components of the activity and each being associated with service element data associating each service element with data defining text describing that component of the activity, the apparatus comprising: a document framework store storing a plurality of document frameworks each for a respective different document and each defining the service elements for which text is to be included in that document; a service selector operable to select a service representation from the service representation store; a document framework selector operable to select a document framework from the document framework store; an identifier operable to identify from the activity data associated with the selected service representation any service element defined by the selected document framework; and a document data producer operable to produce document data incorporating the text associated with the defined service element or service elements identified by the identifier.
 28. Apparatus according to claim 27, wherein the said document frameworks are arranged to define a service element for which the text is to be included in the corresponding document by identifying the specific service element.
 29. Apparatus according to claim 27, wherein the said document frameworks are arranged to define a service element for which the text is to be included in the corresponding document by defining rules determining the activities and service elements relevant to that document.
 30. Apparatus according to claim 27, wherein the document frameworks are arranged to define the service elements for which the text is to be included in the corresponding document by at least one of: specifying the service element by name, specifying the service element by type, defining rules to obtain text associated with the service elements of all activities of a specific type of the selected service, defining rules to obtain text associated with all service elements of a specific type of the selected service, defining rules to obtain text related to an activity and the associated service elements by defining the activity by name or type.
 31. Apparatus according to claim 27, wherein each document framework defines a layout for the corresponding document.
 32. Apparatus according to claim 27, wherein at least one document framework includes data defining standard or boiler plate clauses.
 33. A method of operating computer processing apparatus to generate document data representing a document for use in providing a service comprising a number of different activities that are to be carried out in providing the service, wherein the computer processing apparatus has a data store storing activity data for a plurality of activities that may be carried out in providing a service, the data store storing, for each activity, activity data associating the activity with a number of service elements forming components of the activity and storing for each service element service element data associating the service element with data defining text describing that component of the activity and a document framework store storing a plurality of document frameworks each for a respective different document and each defining the service elements for which text is to be included in that document, the method being carried out by a processor of the computing apparatus and comprising: providing a service representation defining the activities that are to be carried out in providing a service; selecting a document framework from the document framework store; identifying from the activity data associated with the provided service representation any service element defined by the selected document framework; and producing document data incorporating the text associated with the defined service element or service elements thus identified.
 34. A method according to claim 33, further comprising carrying out the service representation by causing the processor to determine the activities selected by a user that are to be carried out in providing a service and to generate the service representation as a service representation defining the activities selected by the user.
 35. A method according to claim 33, further comprising carrying out the service representation providing by causing the processor to access a predefined service representation.
 36. A method according to claim 33, wherein the selected document framework defines a service element for which the text is to be included in the corresponding document by identifying the specific service element.
 37. A method according to claim 33, wherein the selected document framework defines a service element for which the text is to be included in the corresponding document by rules that determine the activities and service elements relevant to that document.
 38. A method according to claim 33, wherein the selected document framework defines the service elements for which the text is to be included in the corresponding document by at least one of: specifying the service element by name, specifying the service element by type, defining rules to obtain text associated with the service elements of all activities of a specific type of the selected service, defining rules to obtain text associated with all service elements of a specific type of the selected service, defining rules to obtain text related to an activity and the associated service elements by defining the activity by name or type.
 39. A method according to claim 33, wherein the selected document framework defines a layout for the corresponding document.
 40. A method according to claim 33, wherein the selected document framework includes data defining standard or boiler plate clauses.
 41. A method according to claim 33, further comprising outputting produced document data.
 42. A method according to claim 41, wherein outputting the produced document data comprises printing a document in accordance with the produced document data.
 43. A method of operating a computer processing apparatus to enable a user to define a service representation comprising a number of different activities that may be carried out in providing the service, the computer processing apparatus having a processor and a display and being coupled to a data store storing activity activity data for a plurality of activities, the data store storing for each activity data associating the activity with a number of service elements forming components of the activity and storing for each service element service element data associating the service element with data defining text describing that component of the activity, the method being carried out by the processor and comprising: displaying to the user a number of activity identifiers each identifying a corresponding different one of the activities stored in the data store; receiving instructions from the user that indicate selection of display activity identifiers; displaying to the user a list of the activity identifiers selected by the user; and receiving instructions from the user to define a service representation comprising the activities corresponding to the activity identifiers selected by the user.
 44. A method according to claim 43, the method further comprising displaying to the user a search screen, receiving search criteria from the user and selecting the activity identifiers to be displayed to the user in accordance with the search criteria.
 45. A method according to claim 43, the method further comprising, after receipt of instructions from a user indicating selection of an activity identifier, adding that activity identifier to a basket for activity identifiers selected by the user, wherein displaying the list of selected activity identifiers comprises displaying the basket of activity identifiers selected by the user and wherein receiving instructions from the user to define the service representation comprises receiving instructions from the user that indicate selection of displayed activity identifiers from the basket to define the service representation and the method further comprises displaying a list of activity identifiers selected from the basket by the user to define the service representation.
 46. A method of operating a computer processing apparatus to enable a user to obtain a document for use in providing a service, the computer apparatus having a processor and a display and being coupled to a service representation store storing representations of services each service representation defining activities that are to be carried out in providing a corresponding service and being associated with activity data defining for each activity a number of service elements forming components of the activity and with service element data associated each service element with data defining text describing that component of the activity, the computer processing apparatus also being coupled to a document framework store storing a plurality of document frameworks each for a respective different document and each identifying the service elements for which text is to be included in that document, the method being carried out by the processor and comprising: receiving instructions from the user to select one of the service representations stored in the service representation store; displaying to the user a number of document identifiers each identifying a corresponding different one of the document frameworks stored in the document framework store; receiving instructions from the user that indicate selection of one of the displayed document identifiers; and displaying to the user a document produced using the selected document framework and incorporating the text associated with the service elements of the selected service and identified by the document framework.
 47. A computer program product comprising processor implementable instructions for causing a processor to carry out a method in accordance with claim
 33. 48. A storage medium carrying a computer program product in accordance with claim
 47. 49. A signal carrying a computer program product in accordance with claim
 47. 50. Computer processing apparatus for generating document data representing a document for use in providing a service comprising a number of different activities that are to be carried out in providing the service, the apparatus comprising: a data store configured for storing activity data for a plurality of activities that may be carried out in providing a service, the data store being configured to store for each activity, activity data associating the activity with at least one service element forming a component of the activity with at least some of the activities being associated with a plurality of service elements and for each service element service, element data associated the service element with data defining text describing that component of the activity; a service representation provider operable to provide a service representation defining the activities that are to be carried out in providing a service; a service representation store configured to store service representations defined by the service representation provider; a document framework store configured to store a plurality of document frameworks each for a respective different document and each defining the service elements for which text is to be included in that document; a service selector operable to select a service representation from the service representation store; a document framework selector operable to select a document framework from the document framework store; and a document data producer operable to produce document data incorporating the text associated with the service elements defined by the selected document framework and associated with the activity data of the selected service.
 51. Computer processing apparatus for producing document data representing a document for use in providing a service comprising a number of different activities that are to be carried out in providing the service, the apparatus comprising: a data store storing, for each activity that may be carried out in providing a service, data associating the activity with at least one document portion relating to that activity; a service representation store storing service representations defining the activities that are to be carried out in providing a service; a document template store storing a plurality of document templates each defining the document portions required to produce a corresponding document; a service selector operable to select a service representation from the service representation store; a document template selector operable to select a document template from the document template store; and a document data producer operable to produce document data incorporating those document portions associated with the activities of the selected service that are defined by the selected document template to be required to produce the corresponding document. 